package br.com.pmz.gerador.vo.gerados; 

import java.util.Date; 
import java.io.InputStream;

import java.io.Serializable;
import javax.persistence.Column;

/**
 *
 * Classe referente a chave primaria.
 *
 */
public final class ${"${table.nameJava}"?cap_first}
  implements Serializable {
<#list table.pks as pk>

  /**
   * ${pk.nameDataBase}.
   */
  @Column(name = "${pk.nameDataBase}",
          nullable = false,
          length = ${pk.sizeDataBase}<#if (pk.precisionDataBase > 0)>,
          precision = ${pk.precisionDataBase}</#if>
          )
  private ${pk.typeJava} ${pk.nameJava};
</#list>
<#list table.pks as pk>

  /**
   *
   * @param param Refere-se ao atributo ${pk.nameJava}
   */
  public void set${"${pk.nameJava}"?cap_first}(final ${pk.typeJava} param) {
    this.${pk.nameJava} = param;
  }

  /**
   *
   * @return Retorna o atributo ${pk.nameDataBase}
   */
  public ${pk.typeJava} get${"${pk.nameJava}"?cap_first}() {
    return this.${pk.nameJava};
  }
</#list>
}
